﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using ChatApp.Core.Info;

namespace ChatApp.Core.Facade
{
    public interface IMessageFacade
    {
        void InsertMessage(MessageInfo pMessageInfo);

        IList<MessageInfo> getConversation(int toUserId, int fromUserId);

        void UpdateMessage(object fromUserId, object toUserId);

        IList<UserInfo> CountMessageNoneRead(object userToId);
    }
}
